package org.springframework.ioc.beanfactory.factorybean;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.ioc.beanfactory.test.beanPost.BeanSingletionTest;

public class FcBean implements FactoryBean<Object> {

	@Override
	public Object getObject() throws Exception {
		return new BeanSingletionTest();
	}

	@Override
	public Class<?> getObjectType() {
		return BeanSingletionTest.class;
	}

	@Override
	public boolean isSingleton() {
		return true;
	}

}
